{% extends 'layout/basic.html' %}
{% load static %}

{% block title %} 个人中心 {% endblock %}
{% block css %}
    <link rel="stylesheet" href="{% static 'css/account.css' %}">
{% endblock %}

{% block content %}
    <div class="account">
        <div class="title"> 个人中心</div>
        <form method="post" novalidate>
            {% csrf_token %}
            {% for field in form %}
                <div class="form-group">
                    <label for="{{ field.id_for_label }}">{{ field.label }}:{{ field }}</label>

                    <span class="error-msg">{{ field.errors.0 }}</span>
                </div>

            {% endfor %}
{##}
{#            <div class="row">#}
{#                <div class="col-xs-3">#}
{#                    <input type="submit" class="btn btn-primary" value="提交"/>#}
{#                </div>#}
{#            </div>#}
        </form>
    </div>
{% endblock %}